/* 
 * File:   main.c
 * Author: gustavo
 *
 * Created on January 6, 2012, 4:29 AM
 */

#include <stdio.h>
#include <stdlib.h>

#include <gtk/gtk.h>


#include "camcal.h"


int main(int argc, char** argv) {

	GtkWidget *window;

	gtk_init(&argc, &argv);

	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
	g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit), NULL);
	gtk_container_set_border_width(GTK_CONTAINER(window), 10);

	CamCal * cc = cc_new();
	gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(cc->box));

	gtk_widget_show_all(window);
	gtk_main();


	return (EXIT_SUCCESS);
}

